package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.ChangeSchoolDetail;
import com.xmy.cultivate.entity.Grade;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.respons.SchedulingGrade;
import org.springframework.transaction.annotation.Transactional;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 班级 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface IGradeService extends IService<Grade> {

    List<SchedulingGrade> getGradeListForScheduling(Long schoolId, Integer subjectsId, Integer yearPart, Integer qurarterNum, String weekDates, Integer lessonType, Integer sourseLeve, Long adminId);

    List<String> getSchoolTimeList(Long schoolId, Integer yearPart, Integer qurarterNum, String weekDates, Integer lessonType);

    Grade createdForChangeSchool(Long outGradeId, Long inSchoolId, Long teacherId, ChangeSchoolDetail changeSchoolDetail, boolean isDelOd) throws ParseException;
}
